package ognl.domain;


import java.util.List;

public class Blog {

    private Integer id;
    private String title;
    private Author author;
    private List<Post> posts;

    public static String staticField;

    public Blog(Integer id, String title, Author author, List<Post> posts) {
        this.id = id;
        this.title = title;
        this.author = author;
        this.posts = posts;
    }

    public static String staticMethod(){
        return "静态方法";
    }
}
